/// env文件的默认地址
pub const ENV_PATH: &str = "./.env";
pub const SERIAL_CONFIG_PATH: &str = "SERIAL_CONFIG_PATH";
pub const LOG_DEBUG: &str = "LOG_DEBUG";
/// 设备类型 1为天气 2为土壤 3为雨雪 4为开关 5为并联开关
pub const DEVICE_WEATHER: u32 = 1;
pub const DEVICE_SOIL: u32 = 2;
pub const DEVICE_SLEET: u32 = 3;
pub const DEVICE_SWITCH: u32 = 4;
pub const DEVICE_PARALLELING_SWITCH: u32 = 5;
/// 操作方式
pub const OPERATION_OPEN: i32 = 1;
pub const OPERATION_CLOSE: i32 = 2;
pub const OPERATION_OPEN_S1: i32 = 3;
pub const OPERATION_CLOSE_S1: i32 = 4;
pub const OPERATION_OPEN_S2: i32 = 5;
pub const OPERATION_CLOSE_S2: i32 = 6;
pub const OPERATION_OPEN_S3: i32 = 7;
pub const OPERATION_CLOSE_S3: i32 = 8;
pub const OPERATION_OPEN_ALL: i32 = 9;
pub const OPERATION_CLOSE_ALL: i32 = 10;